The dynamics of non-smooth vehicle dynamical systems and their numerical treatment