Least Squares Linear Fitting