fixed logic error in confusion matrix; needed for demo - this should be app logic not CLI