Implementation of the fractionInverse