Least-Squares Solution & Data Fitting