Returns the probability of a trial result using a binomial distribution