plane_trend function

Trend component