Stable and convergent dynamics for discrete-time recurrent networks