Cortical monitor