cifar-10 test and confusion matrix rendering