Implicit differentiation

Implicit differentiation