Fixed Detrend applying even when told not to
Exporting of bad leads is now on a 120 1-based index