working on calculating line of best fit