Numba compatible implementation of np.diff(…, axis=0) for 2d arrays.
The input array
The results of np.diff(…, axis=0)