Localization of sensor networks via low rank approximation