Serving data correctly for matrix_gen.