predict method for Bayesian Model [fixes #224]