 The purpose of this study is to compare a closed-loop intravenous anesthetic using Bispectral Index as a feedback loop and a controller based on reinforcement learning to titrate dose and intravenous anesthetic that is manually controlled or a standard volatile anesthetic agent titrated by the anesthesiologist to determine improvement in the following parameters as compared to controls: time to discharge from the Post Anesthesia Care Unit, post-operative nausea and vomiting, pain scores and sedation scores. 