upstreamseq function

Upstream Distance Between Sequential Observations