It seems that I could just be passing the curand array around the different function (in particular the choose colliding atoms function) incorrectly. Lets have a look.