The cerebral function monitor