Particle position update and Matrix::Resize

Particle position update now has an argument stepIndex.
Matrix::Resize is specialized for string type.