A connectionist model of mental imagery