Modify from 3-sigma to 1-sigma in gaussian distance weighting