Fixed generation code for the world matrix in Particle