Dynamics of Learning in Recurrent Feature-Discovery Networks