updated method to standardize covariates (just subtract the mean)