Covariance matching techniques for radio astronomy calibration and imaging