Added Hysteresis example