Mathematical models of hysteresis | Synapse