Text this: Design of an in-ear EEG device to detect consciousness levels and be used in monitoring anaesthesia levels of a patient in a medical setting