Designing an artificial pancreas architecture: the AP@home experience.