High dimensional variable selection and covariance matrix estimation