Update ik.c

extreme positions should now be handled...
-will definitely break the ik supported mode, but that isn't used anyway...