Finding the right treatment for depression can be a time-consuming process. But monitoring brain activity may speed it up.