added xerbla
adding gemm reference and calling it for small problem sizes in gemm