Գրեք սա: Module-oriented automatic differentiation in nonlinear control