Mathematical description of the blood sugar system