Added debugging statements to try and squash this gemm error.