Circadian Algorithms