T2A function

Convert transmittance into absorbance.