Changed the inverse kinematics to only use 2 dimensions