Add function to obtain max over each image
Add support for masking in stretchlim
Add functions to mask brightness artifacts
Add support for masks in finding illumination