Variance Calculator corrected