RATS: Unsupervised manifold learning using low-distortion alignment of tangent spaces