Updated to set rndFrame to frames

When passing number as the frames parameter to the makeParticle function the value was not set.

set the rndFrame value to frames to make this work