public static void main(String[] args) {
double[] center = { 2, 3 };
double[] skew = { 1, 100 };
TestMaximization obj = new TestMaximization(center, skew);
GradientAscent ga = new GradientAscent();
ga.maximize(obj);
System.out.println("Gradient descent found params (val="
+ obj.numValueCalls + " grad=" + obj.numGradientCalls + "): ");
for (int i = 0; i < obj.params.length; i++) {
System.out.print(obj.params[i] + " ");
}