Fixed the transformation class.