Added more edits to covaraince estimation