docs: @Override
    public double getWeight(double distance, double max, double stddev) {
      if(stddev <= 0) {
        return 1;
      }
      double scaleddistance = distance / stddev;
      return stddev * FastMath.exp(-.5 * scaleddistance);
    }