Polyhedral Dynamics and the Geometry of Systems