Corrected masterFlatMaker()