Alterations in mental function and paroxysmal cerebral activity.