Fixing mat_compare to matrix_compare in cuda_test