Create write_confusion_matrix.m