Title: Modeling with Nonsmooth Dynamics