Distributed Algorithms for Computing Very Large Thresholded Covariance Matrices