Change to a function.
Rename.
Discrete Bayes update.