Principles of Biomaterials Encapsulation