Added a little boilerplate for the particle filter