Estimation of Cross-Sectional Dependence in Large Panels