A Distributed Technique for Localization of Agent Formations from Relative Range Measurements