Implemented the SSRMS IK function. It is still flimsy, but it basically works.