Nonlinear Analysis of Electroencephalogram Variability as a Measure of the Depth of Anesthesia