Control and design of flexible-link manipulators