Rate- and Phase-coded Autoassociative Memory