Stable and accurate network coordinates