Added a function to randomly shuffle an array of particles and moved random_uniform into tools.c.
tools.c