Bayesian inference of single factor Gaussian model using Stan