Exploration and Data Aggregation in Distributed Sensor Networks: - A Geometric Approach