Added median calculation to timer_data

Since you are already sorting the values in process_metrics I thought it wouldn't cost much to add the median value to the timer_data values.

Was there any reason why median wasn't included originally?