The Geometry of Ordinary Variational Equations