minuscule changes to test_mat.c