Fix MarkovProcess.
Test stochastic processes.