Created C++ fitter