Convert fit to a c++ program, trying to reduce overhead from interpreter, also use several cores
To make the program