calc_variance function

Calculate Variance and its Monte Carlo Standard Error