Bayes factors
This patch introduces code to compute the bayes factor along with the posterior odds when prior samples are also supplied.
Note, it also fixes a small issue with the error estimation for the Odds ratio calculation. There were also a few changes meant to speed up the code by removing repeated work, although we are not particularly draconian about this.
Edited by Reed Essick