corrected problem with confusion matrix.