Made updates to control-variates.;