fix ParticleFilter which use the Normalrand function