added ability to output median values without subtracting reference