A Spectral Learning Approach to Range-Only SLAM