Check leading dimensions of A and B, /src/lapack/dgemm.c