A variational approach to second-order approximability of sliding mode control systems.