Gradient calculations for dynamic recurrent neural networks: a survey | Synapse