Calculate the regression line