Some code to support Particle Systems on CUDA + an example