Preisach hysteresis model Matlab GUI project