Update Jacobian python binding.
Add IDIM utility function to the python binding.