dominant_epoch function

Determine the dominant epoch/interval of a dataset