fixed a bug in input generator, changed parameters in ParticleFilter.cpp