Added particles to the model. Also improved the analysis files.