A method for controlling a controlled system by a control device, the method may include transmitting multiple actuation signals to multiple degree of freedom (DOF) points of the controlled system; wherein the multiple actuation signals comprise multiple alternating current (AC) components that are mutually orthogonal; measuring at least one feedback signal from at least one probe point of the controlled system; wherein a number of DOF points exceeds a number of the at least one probe point; determining, based upon the at least one feedback signal, values of line search pulses to be sent to the multiple DOF points during at least one line search iteration; and performing the at least one line search iteration.