detrend function

Detrend a Time Series