added transposition to matrices (kernels calls wasn't updated)