AN ANALYTICAL THEORY FOR A GYROSTATIC EARTH