Added "time_sec" changes to integration_time()