Design, optimization, and control of tensegrity structures