Create matrix_gen.c