Added the possibility to generate the mass of a particle with width>1MeV to be flat or just the center of the distribution