public static int[][][][] read3model(String path){
		int[][][][] out = new int[3][aa][aa][windowsize];
		try{
			FileReader input = new FileReader(path);
			BufferedReader br = new BufferedReader(input);
			String line;
			line = br.readLine();
			if(line.startsWith("//")){ 
				int dim = Integer.parseInt(line.substring(9,10));
				br.readLine();
			}
			int k = -1;
			int cha = 0;
			while((line = br.readLine()) != null){
				if(line.startsWith("=")) {
					cha = sstoint(line.substring(3,4))[0];
					k = aatoint(line.substring(1,2))[0];
					br.readLine();}
				else if(line.startsWith("Y")) {
					String[] s = line.split("\t");
					char c = s[0].charAt(0);
					for(int i = 0; i < s.length - 1; i++){
					out[cha][k][aaint(c)][i] = Integer.parseInt(s[i+1]);
					}
					br.readLine();
					br.readLine();}
				else {
					String[] s = line.split("\t");
					char c = s[0].charAt(0);
					for(int i = 0; i < s.length - 1; i++){
					out[cha][k][aaint(c)][i] = Integer.parseInt(s[i+1]);
					}
				}
			}
			br.close();
			} catch(FileNotFoundException e){
				//System.out.println("Hallo");
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			return out;
	}