Source: https://cran.r-project.org/web/packages/WaveletGARCH/WaveletGARCH.pdf