Binomial distribution calculation function add.