This Smath 5346 "Genfit" can be generalised to almost any model function, Except Thiele Continued fraction. If you are gentle enough, it will fit as well the Padé rational fraction. This last one can be further reduced to J_Fraction via Maple [in some case(s) it may fails due to more numerical maths issues under the hood].