Distributed Spatial Filtering by a Two-Hop Consensus-Type Algorithm