jacobian computation ik untested code