Ensures that variance is a number for stdev