se_mean_sample function

Squared error of the mean (sample-based version)