Factored out two control parameters. Improved readability of the particle class.