IK implemented

Implementation doesn't work right.