Spherical earth gravity and magnetic anomaly modeling by Gauss-Legendre Quadrature integration