moving functions requiring mp_fp into the .cpp file