Generalization of back-propagation to recurrent neural networks | Synapse