Corrected total time calculation
Added total time to pdf table