Calculating a regression line without the calculator statistics function