Hysteresis compensation in electromagnetic actuators through Preisach model inversion | Synapse