smoothTrend function

Calculate nonparametric smooth trends