Using MRI to treat depression