Thresholds fitted now don't match old saved to file,
don't know why need to go through it.
Found, fixed bug whereby new thresh extracted did not match old
Reason was that threshold_slope assumed x's were in order.
Additional graphs working.
About to rename thresh arrays
Because too confusing, which are actual data and which predicted, and which fitted before