don't remember what changes were made to common.cpp - minor
changed BinnedParticles to be a vector of a vector of particles rather than of particles*