changed IK to account for gear offsets