This function computes the envelops for DTW lower bound calculations with a Sakoe-Chiba band for
a given univariate time series using the streaming algorithm proposed by Lemire (2009).
A list with two elements (lower and upper envelops): lower and upper.
Details
The windowing constraint uses a centered window. The calculations expect a value in
window.size that represents the distance between the point considered and one of the edges
of the window. Therefore, if, for example, window.size = 10, the warping for an
observation $x_i$ considers the points between $x_{i-10}$ and $x_{i+10}$, resulting
in 10(2) + 1 = 21 observations falling within the window.