A magnetic resonance system comprising: a transceiver having a multichannel receiver and a multichannel transmitter wherein each channel of the transmitter is configured for independent selection of five degrees of freedom, namely, frequency, phase, time, space, and magnitude; and each channel of the receiver is configured for independent selection of five degrees of freedom, namely space, time, frequency, phase and gain; a magnetic resonance radio frequency, RF, coil having a plurality of independent, actively controlled current elements, each element being coupled in one to one relation with a channel of the receiver and a channel of the transmitter; and a processor coupled to the transceiver, wherein the processor is configured to execute instructions to control a current in each element, wherein the control of the spatial degree of freedom for any channel of the transmitter or receiver corresponds to the dynamic spatial adjustment of the element of the coil that is coupled to said channel; characterized in that the processor is configured to execute instructions to perform a non-linear RF field optimization algorithm that implements a non-linear relationship between flip angle and signal intensity to shim a B1+ RF field generated by the coil, the non-linear RF field optimization algorithm using a penalty function that returns a value, m, describing the phase and magnitude for each current element of the magnetic resonance RF coil and wherein the non-linear RF field optimization algorithm is restarted along several values of the value, m, to find a global minimum, and wherein the penalty function rewards uniform B1+ magnitude while penalizing local excursions and null solutions. a transceiver having a multichannel receiver and a multichannel transmitter wherein each channel of the transmitter is configured for independent selection of five degrees of freedom, namely, frequency, phase, time, space, and magnitude; and each channel of the receiver is configured for independent selection of five degrees of freedom, namely space, time, frequency, phase and gain; a magnetic resonance radio frequency, RF, coil having a plurality of independent, actively controlled current elements, each element being coupled in one to one relation with a channel of the receiver and a channel of the transmitter; and a processor coupled to the transceiver, wherein the processor is configured to execute instructions to control a current in each element, wherein the control of the spatial degree of freedom for any channel of the transmitter or receiver corresponds to the dynamic spatial adjustment of the element of the coil that is coupled to said channel; characterized in that the processor is configured to execute instructions to perform a non-linear RF field optimization algorithm that implements a non-linear relationship between flip angle and signal intensity to shim a B1+ RF field generated by the coil, the non-linear RF field optimization algorithm using a penalty function that returns a value, m, describing the phase and magnitude for each current element of the magnetic resonance RF coil and wherein the non-linear RF field optimization algorithm is restarted along several values of the value, m, to find a global minimum, and wherein the penalty function rewards uniform B1+ magnitude while penalizing local excursions and null solutions.