Added a mps_regenerate function to Octave and improve the computation of the
determinant for Hessenberg matrices to prevent underflow / overflow.