Model-based distance and cruise control for motor vehicles