Added nearest neighbour cell searching back in. It looks like it might have been the phlox generator causing a problem on the earlier version of cuds available on MAASIVE. I have reverted everything back to standard curand. There may be a performance hit, but the collisions are not the limiting factor in the simulation speed atm.