Moved particle matching code to ParticleFilter interface.
Fixes #7.