On the State Estimation Problem for Distributed Systems