Distributed Differentially Private Computation of Functions with Correlated Noise