added confusion matrix to output