code: public static double normalDistribution(Double x, AssociativeArray params) {
          double mean= params.getDouble("mean");
          double variance= params.getDouble("variance");
  
          //standardize the x value
          double z=(x-mean)/Math.sqrt(variance);
  
          return ContinuousDistributions.gaussCdf(z);
      }
docs: Cumulative Normal Distribution Method. This method is called via reflection.
  
  @param x
  @param params : AssociativeArray("mean"=>mean,"variance"=>variance)
  @return