correct BayesianMixtureModel.cpp