Use probability distributions in context (#117)

Use probability distributions in context (#117)