Added the averaging of landmark positions over the entire set of particles.