Distributed Localization of Active Transmitters in a Wireless Sensor Network