mod. generalize median aggregator to any numpy op that may operate on numpy arrays.
mod. rework bytes added median aggregator to use generalized aggregator def.