add call to return generalized variance
fix rebase