Curve Fitting: Fitting a Curve to a Set of Data Points