public static void writeToFile(){
		File output = new File(".data\\nnsave");
		FileWriter writer;
		try{
			writer = new FileWriter(output);
			
			writer.write(inHid.length + "," + inHid[0].length + "\n");
		
			for(int i = 0; i < inHid.length; i++){
				for(int j = 0; j < inHid[i].length; j++){
					writer.write(inHid[i][j] + ",");
				}
				writer.write("\n");
			}
			
			writer.write(hidOut.length + "," + hidOut[0].length + "\n");
			for(int i = 0; i < hidOut.length; i++){
				for(int j = 0; j < hidOut[i].length; j++){
					writer.write(hidOut[i][j] + ",");
				}
				writer.write("\n");
			}
			
		
		
			writer.close();
		}
		catch(IOException e){
			System.out.println("File for save missing");
		}
	}