Translate and rotate separated
Derivative update
Added encoding
Changed to .py