Capturing Brain Waves while Sleeping