A flat light source having a front plate and a rear part. The system then presents simulation results to a user, the simulation results indicating whether any of the one or more tracking methods will successfully track the target position during treatment delivery. A matrix controller configures at least one of the inductor matrix or capacitor matrix based on the detected reflected power to minimize the reflected power.