Added generateThresholdCurves. Removed obsolete figure7 code and unused mat files (that may have been wrong anyway)