Elasticity and Stability of Shape Changing Structures