Calibration of Photoemission Spectra and Work Function