Small bug fix to binomial distribution. It seems to work now.