fix bug in SpectrumCreator not doing darkpix subtraction