New algorithms show accuracy, reliability in gauging unconsciousness under general anesthesia