Just a quick, dirty little sleep cycle calculator.