Bug fix.

Corrected assignment of particle positions to particle system.