Text this: Gradient based modifications of an algorithm for nonlinear optimal control problems /