Optimal Control Stabilization and Nonsmooth Analysis