Added compute variances