Stochastic mechanics