Life before the Clock: Modeling Circadian Evolution