added naive bayes factory parameter class, cleaned up NBayesFactory
class *crosses fingers*