Add SwapRows and SwapColumns method to the Matrix class to simplify LinearEquationSolver algorithm.