Recursive Bayesian estimation using piece-wise constant approximations