Stochastic Motion Planning and Applications to Traffic Stochastic Motion Planning and Applications to Traffic