Least Squares Fitting of Data