Added some functions and scripts to explore the timing window for CCM