simplify the features extracted, fix subtle formatting problems, and compute the confusion matrix for the classifier