minor improment in function/gradient behavior near a singularity that can exist in the Glauert region