Calculation of glucose concentration from absorbance