Programming complex shapes in thin nematic elastomer and glass sheets.