added sqrt from dcov formulation