Learning and Manifolds: Leveraging the Intrinsic Geometry