ELEMENTS OF STOCHASTIC DYNAMICS