predetermined deadpix mask can be added
orderflat boundary is selected with threshold of 0.05
wavelength solution for K now works.