Implemented basic mutual information and improved learning of naive bayes.