Finding the mean of a binomial distribution