Efficient Localization Algorithm for Wireless Sensor Networks Using Levenberg-Marquardt Refinement