Added an n.iter argument to all bayes.* function and modified the tests accordingly.