Updated the hysteresis neural network and added examples for it