A new material developed by University of Colorado Boulder engineers can transform into complex, pre-programmed shapes via light and temperature stimuli, allowing a literal square peg to morph and fit into a round hole before fully reverting to its original form.