Evaluation of Methods for Spherical Harmonic Synthesis of the Gravitational Potential and its Gradients