Not fully functional, but code is written for Bayes

Works for simple, nothing else