Add trendline calculation
Merge branch 'feature-trendline' into development