Fixed Naive Bayes, pretty good classification rate on test data, but there is still a little bug.  Suspect floating point problems.