Distance function from start-location (~nest location) - slow to run for many locations though
Added catch statement for when there are zero values (!log(0))
Added option to get distance in metres, defaults to km for compatibility with where this function is called in other scripts
Nest distance for individuals rather than using single fixed location