added SwapRows for DenseMat