public static int[][] inverse(int[][] array) {
		int[][] out = new int[array[0].length][array.length];
		for (int line = 0; line < array.length; line++) {
			for (int data = 0; data < array[0].length; data++) {
				out[data][line] = array[line][data];
			}
		}
		return out;
	}