The Dynamics of an Asteroid