The Gluon Propagator in Analytic Perturbation Theory