private void randomizeButtonActionPerformed(java.awt.event.ActionEvent evt) {                                                
    	for(int i = 0;i<myNetwork.getAddedNeurons(); i++){
			for(int j = i+1;j<myNetwork.getAddedNeurons();j++){
				//only generate edges from one layer to the following
				if (myNetwork.calcRelativePosition(i)[0]+1 == myNetwork.calcRelativePosition(j)[0]){
					myNetwork.updateWeight(i, j, Math.round((Math.random()+0.1)*5) );
				}
			}
			}
    }