Fixed bug in probability distributions.