Geometric Control and Nonsmooth Analysis