ORGaNICs: A Theory of Working Memory in Brains and Machines