removed ldc from result matrices in kernels