A Generalized Theory of Gravitation