Adding the Trendline calculation methods