Calculations of consciousness: electroencephalography analyses to determine anesthetic depth