Structural instabilities for the design and control of computational materials and structures