added confusion matrix output