fitting spectra

- adds various functions to calculate spectra
- gaussian distribution function of chemical potential
- fits experimental spectra