Hashing out the probability calculator