Added a function to return precision, recall, f-measure, and some error analysis fodder.