Particle filtering for two parameters