What is the procedure for using EEG to determine the electrical activity in the brain?