public static double measureGlobalDistance(double[][] first,
			double[][] second) {

		double[] firstTranslation = getTranslationFromTransform(first);
		double[] secondTranslation = getTranslationFromTransform(second);

		return measureGlobalDistance(firstTranslation, secondTranslation);

	}