Added simple class to model probability distributions.