Brain wave device enhances memory function