Design of a Macroencapsulation Device for Pancreatic Islets for Diabetes Therapy