Manifold propagation through recurrent neural networks