Compute binomial distributions