Autoassociative neural memory capacity and dynamics