Optimization of Sensors Location and Actuator Control Law