A Local Learning Algorithm for Dynamic Feedforward and Recurrent Networks | Synapse