Refactored timelag to create an exported function.

Previously the timelag steps were done in global R code.  Moved these to a function, and provided a start at documentation.  Moved vegan dependency to the NAMESPACE file.
Updated documentation after documenting the timelag function.