An electric cap is doubling the life expectancy of patients suffering from an aggressive form of brain cancer.