awsLocalSigma function

3D variance estimation