ImageFileMatrix cow = new ImageFileMatrix(getCow());
ImageFileMatrix cowHead = new ImageFileMatrix(getCowHead());
System.out.println("Starting correlation...");
MatrixCorrelation correlation = new MatrixCorrelation(cow, cowHead);
correlation.calculate();
System.out.println("... correlation finished.");
cow = null;
cowHead = null;
System.gc();