Generalize model with formula
DtoX no longer exists
Finish removing DtoX
Start working on fedorov algorithm in c++
Move fedorov to C++
Move variable initialization out of while loop