Found and fixed errors in confusion matrix maker