Angela's changes to create particle filter