Update transformations.cpp