Neurofeedback -- a therapy designed to help people train their brains to perform better -- is used to treat depression, anxiety, and attention deficit disorder, among others.