Why does the cortex oscillate?