standard Naive Bayes classifier

This pull request is abandoned, please ignore.