Add pivoting to LU decomposition.

To avoid absurdity and craziness.