Control of an artificial human pancreas