Curve_fitting This code: 1.Computes the covariance matrix (from scratch) and its eigenvalues and eigenvectors. 2.Fits a line to the data using linear least square method, total least square method and RANSAC.