wrote initial gemm codes