Added "-d" option to select which detector to fit in CalibSpectra().
Default is to fit all.
Comments and formatting.