Computing the optimal path in stochastic dynamical systems.