Fitting a Straight Line by Least Squares