Invert transformation