Update transformation.cpp