UPDATE: Updated inverse kinematics