new matricies bayes