Implemented expnumfrag C++ module to speed up code