Text this: Stochastic dynamics, filtering and optimization /