Update builtin distributions and Resampling Scheme for ParticleFilter

is there a better way, considering the overhead of creating such objects repeatedly wasteful.