Finished CPU implementation of CustomManyParticleForce