checked that gemm.c is OK