Backpropagation through time: what it does and how to do it | Synapse