Text this: Gradient optimization and nonlinear control /