Refactored gravity field computation into an asteroid class.