More work on particle filter.