Fixed wrong normalization in Naive Bayes. Also implemented correct add-one smoothing.