Dealing with probability distributions in OCaml