add calculation for sigma2 in one dimension