Orientations and Locations Optimization of Actuators and Sensors for Structural Shape Control