Check for filter curves where the transmittance is in percent, not normalized
Do small reorganization of the code