Calculate number of seconds at each location per day
findSecondsPerSection(res, day, the.range)
a residency list
the day being analysed (a Date object)
the first and last day for the specific fish
A data frame containing the number of seconds spent at each location for a specific day