Generalized Ordinary Differential Equations