updated methods for error calculation in naiveBayes.py; now outputs info file for graphing