Source: https://math.unice.fr/~diener/probas/variance.pdf