Update kinematics.py