Text this: Modelling Hysteresis with Memristors