SMS: Stochastic filtering theory