Distributed Estimation for WSNs