code: public void setSigma(double sigma)
      {
          if(sigma <= 0)
              throw new IllegalArgumentException("Sigma must be a positive constant, not " + sigma);
          this.sigma = sigma;
          this.sigmaSqrd2Inv = 0.5/(sigma*sigma);
      }
docs: Sets the sigma parameter, which must be a positive value
  @param sigma the sigma value