public static double dnorm(double x){
  return Math.exp(-x * x / 2.) * PSI;
}

public static double dnorm ( double x ) { return Math . exp ( - x * x / 2. ) * PSI ; }
returns the density of the standard normal .
