changing function name detrend -> untrend