Comments.
Trying to do Wald.
Apply Bayes's theorem.
Small fixes.
Simplify algorithm for posterior.
Bayes optimality implemented.
Test Bayes decision code.