updating master
working on bayes, adding features