fixed typos in parameters.m and particles.m.