Dynamically Learning to Integrate in Recurrent Neural Networks