tfr.median.set.all function

Editing median for estimation and projections.