new bayes matrix