Nonlinear matrix recovery using optimization on the Grassmann manifold