Fixing Dixon's Gauss-Jordan algorithm.