Computer analysis of EEG, EOG, and NPT activity during sleep