Fixed error in calculating absorbance from transmittance array values