Distance between celestial bodies