correct orthogonal projection of manifold points