A Doubly Stochastic Poisson Process Model For Wake-Sleep Cycling