added Jacobian and Jacobian with reverse mode to autodiff