Added check to Glare analysis for luminance

Added a new part to check the HDR file and make sure the image is the
result of a luminance study and not the illuminance