Convert fit to a c++ program, trying to reduce overhead from interpreter, also use several cores
To make the program
Merge pull request #1 from alberto-sanchez/master

making a c++ program out of the python script