Modeling & cruise control of a mobile machine