Analyzing Perturbations Of Sleep-Wake Dynamics Using Bifurcation Theory And Circle Maps