added nearestLand, finished checkOccurrences and made some other minor doc edits