Localization in Wireless Sensor Networks Using a Mobile Anchor and Subordinate Nodes