New research on brain waves could help doctors treat cognitive decline.