Compute rolling standard deviation in O(n) | DRW