adding median for II into 2dLocalEstimator