Driver behavior classification and lateral control for automobile safety systems