Bug fixes to CUDA version of CustomManyParticleForce