Moves row switch operation to before row add operations in GaussJordanEliminate().