S_theta_minus_theta_squared function

Calculate sample variance of squared errors