The principle aim of this project is to characterize the changes in relative stability of the intrinsic brain dynamics during onset of sleep and induction of general anesthesia. The investigators hypothesize that brain dynamics in the awake state are critical akin to physical systems close to a second order phase transition and that during loss of consciousness the dynamics move away from the critical point.