Finding the mean and standard deviation of a binomial random variable