Sum-Of-Squares Based Vehicle Dynamic Stability Method and Its Applications in ADAS