Added Brendan's updated particle code.