geometry methods for inverse kinematics

w