Influence of the cerebral cortex on habituation