Bayesian parameter estimation through variational methodsTommi