Primate locomotor pattern repetitions, program clocks, and orientation to light