Shape-Memory Polymer Device Design