Fixed segfaults when running partTest

partTest.cpp is a test driver for particle system.  We were running
into segfaults when trying to run the binary.  After making appropriate
changes, the binary will now run.  The particle object, however, does
not render. That's next.