Added missing return in invert() of TransformationBase