added batch learning method for BayesianLinearRegression and BayesianLogisticRegression.