Update NaiveBayes.java