One time correlation: not to merge

WIP: timecorr.py and test_timecorr.py