Minor simplification.
Add particle filter class.
Update docstrings.