particleSystem.cpp cleaned up