Comparison among spherical harmonics synthesis methods for functionals of the gravity field