fit bayesian model with wishart prior