Robustness of this first difference function

Robustness of this first difference function

Here is a first difference function I threw together for a quick check in another program:

...