Optimization_Time function

Compute the time elapsed in the numerical optimization