conTimelag function

Compute time-lags from contact phases