fixed bug in naivebayesclassifier. Now with correlation score.