Adding median stats to tables