first stab at imporved confusion matrix state name mapping.  need more test