GEMM : Implementing local memory