A Low-Complexity Circuit Model of Hysteresis