update project(), update preconditioner in conjugateGradient(), remove unnecessary code, move constants from mac_grid.cpp to constants.cpp