compute_time function

Gather and Compute the Timing of the Different Parts of the Explain Function