Added Better CurveFitting