Equation of best fit for linear equation