Gauged N=1 Supergravity and the Embedding Tensor Formalism by