Bayesian Rating algorythm