code: public double computeLikelihoodP() {
          double ret = 1.0;
  
          for( int i = 0; i < r.numRows; i++ ) {
              double a = r.get(i,0);
  
              ret *= Math.exp(-a*a/2.0);
          }
  
          return ret;
      }
docs: Computes the likelihood of the random draw
  
  @return The likelihood.