Convergence and Rate of Convergence of a Manifold-Based Dimension Reduction Algorithm