Added HbA1c calculation.