I was trying to plot a binomial distribution and my code was behaving unexpectedly so I traced the error to this part and made it into a separate file. Basically multiplication