Tfr_normdiff function

transmittance:transmittance normalised difference