added detrend-percentile preprocessing option
a linear detrended percentile preprocessing method
Merge pull request #9 from chris-stock/preprocess-nonlin-detrend

Preprocess nonlin detrend