public static void updateWeights(){
		//update weights to hidden nodes
		for(int node = 0; node < inHid.length -1; node++){
			for(int weight = 0; weight < inHid[node].length; weight++){
				inHid[node][weight] = inHid[node][weight] + LR  * (input[node] * hiddenError[weight]);
			}
		}
		
		//update weights to output
		for(int node = 0; node < hidOut.length; node++){
			for(int weight = 0; weight < hidOut[node].length; weight++){
				hidOut[node][weight] = hidOut[node][weight] + LR * (hiddenOutput[node] + outputError[weight]);
			}
		}
	}