Non-Convex Optimization In Networks And High-Dimensional Covariance Estimation