add confusion matrix to mm