plasma kernels swap matrix lines