Code that fits peaks in the dimuon spectra