public static void main(String[] args) {
		double[][] teeest = new double[0][0];
		System.out.println(teeest.length);
		
		
		//Neuron creation test with arbitrary inputs and weights.
		Neuron myFirstNeuron = new Neuron("min");
		double input[] = {5,20,-1};
		double weights[] = {0,1,1};
		System.out.println(myFirstNeuron.calcOutput(input, weights));
				
				
		Network myFirstNetwork = new Network(2);
		myFirstNetwork.addNeurons(0, 2, myFirstNeuron);
		
		//test if Neurons in Network can be changed correctly
		Neuron firstN;
		Neuron secondN;
		System.out.println("before");
		firstN = myFirstNetwork.getNeuron(0,0);
		secondN = myFirstNetwork.getNeuron(0,1);
		System.out.println(firstN.getPropagationFunction());
		System.out.println(secondN.getPropagationFunction());
		firstN.setPropagationFunction("prod");
		System.out.println("after");
		firstN = myFirstNetwork.getNeuron(0,0);
		secondN = myFirstNetwork.getNeuron(0,1);
		System.out.println(firstN.getPropagationFunction());
		System.out.println(secondN.getPropagationFunction());
		firstN.setPropagationFunction("prod");
		System.out.println("Layer 0: " + myFirstNetwork.howManyInLayer(0));
		
		myFirstNetwork.updateWeight(0, 0, 0, 1, 0.5);
		myFirstNetwork.printWeightMatrix();
		
		
		System.out.println("vorher");
		double[][] testMatrix = {{1,2,3,4},{5,6,7,8},{9,10,11,12}};
		String zeile = "";
		for (int i = 0; i < testMatrix.length;i++){
			for (int j = 0; j< testMatrix.length;j++){
				zeile = zeile + " " + testMatrix[i][j];
			}
			System.out.println(zeile);
			zeile = "";
		}
		testMatrix = myFirstNetwork.removeRowColumn(testMatrix, 0, 2);
		System.out.println("nachher");
		zeile = "";
		for (int i = 0; i < testMatrix.length;i++){
			for (int j = 0; j< testMatrix.length;j++){
				zeile = zeile + " " + testMatrix[i][j];
			}
			System.out.println(zeile);
			zeile = "";
		}
		testMatrix = myFirstNetwork.insertRowCol(testMatrix, 0, 2);
		System.out.println("nachher2");
		zeile = "";
		for (int i = 0; i < testMatrix.length;i++){
			for (int j = 0; j< testMatrix.length;j++){
				zeile = zeile + " " + testMatrix[i][j];
			}
			System.out.println(zeile);
			zeile = "";
		}
		
		new Learning("abc",myFirstNetwork,"Backprop");
		
	}