Switching to median-based strategy for SDC and adding r-value version of Get([Real,Imag]PartOf)Diagonal.