Soft Resampler for Particle Filtering