Fixed the removeParticleAfter! Cleaned unneccesary code and added comments.