fix swap with max function, should be abs value and swap with row only below the pivot
put ero2 in try catch block
add stop convert to rref if a 0 is along the diagonal