FunctionFitting updated