Added random_sample function on Particles to select a random subset + test