Updated the timing code in init_curves.cpp.