fixed scaling bug in GEMM kernels.