Fix for more SciDB bugs involving gemm