Geometry of Constrained Dynamical Systems by