What does it use to sense the rem phase? I thought about using an old mindflex unit and setting up a simple python app to moniter what it reads for the duration of my sleep, but im still a little too new to python... i did get the arduino part working though