writing initial gemm