[dev] Improved jacobian_gsl following Conrad Curry's suggestion.