Matlab Code For Least Square Curve Fitting