Transformation of Rational Functions