Median stats

This proposed commit adds a median value to the stats reports.