public static void main(String [] args) {
    ExponentialTerm e = new ExponentialTerm(2);
    PolynomialTerm p = new PolynomialTerm(2);
    Sigmoid s = new Sigmoid();
    testFunction(e);
    testFunction(p);
    testFunction(s);
  }