completed naiveBayes predict method, but accuracy is ~83% instead of ~89%