added appropriate python libraries (for trig, rotation)