Start of wrapping 2D inverse kinematics.