Add theoretical_CGPT_time function