Fix NaN after flat-field
After flat-field, some NaN might appear if flat==dark
.
It never occurred until recently, but it was probably a matter of time.
Removing NaNs should be part of either the flat-field routine, or the CCD median filter.
Edited by Pierre Paleo