take Function arguement instead of bool for MCMC
add BayesCR function to package, doesn't work yet