added fixes to LegIK and FK, added comments