Dictionary-based Manifold Learning