Added bayes library