Geometrical Dynamics of Complex Systems