getting decoder to plot confidence matrices