dur_gaps function

calculate the duration of stratigraphic gaps using astronomical cycles