When constructing a gaussian kernel, ignore values under 3-sigma