updated assignment of spherical coordinate variables so navigating earth is smoother