@karlnapf I could have used an instance of CQuadraticTimeMMD here for computing these as we discussed earlier. But that computes variance as well after latest revision, which is not required here. So I copied these lines. Not sure if that's okay.