Fits Duncan's hysteresis simulation to inputted raw data