fit energy distribution for calibration
use matplotlibrc at the correct place
delete unneccessary mprc