public void populateMatricesLvsR(FlexCompRowMatrix LTR,FlexCompRowMatrix RTL,FlexCompRowMatrix LTL,FlexCompRowMatrix RTR ){
			int idx_doc=0;
			
			
			System.out.println("+++Entering loop over the documents+++");
				while (idx_doc<_allDocs.size()){
					ArrayList<Integer> doc=_allDocs.get(idx_doc++);
					int idx_tok=0;
					
					while(idx_tok<doc.size()){
						int tok=doc.get(idx_tok);
						
						
						for(int i=1;i<=_contextSize;i++){
							if (idx_tok-i>=0){
									
									//LTL
									LTL.add((i-1)*(_vocab_size+1)+doc.get(idx_tok-i), (i-1)*(_vocab_size+1)+doc.get(idx_tok-i), 1);
									
									//LTR
									if (idx_tok+i <doc.size()){
										LTR.add((i-1)*(_vocab_size+1)+doc.get(idx_tok-i), (i-1)*(_vocab_size+1)+doc.get(idx_tok+i), 1);
									}
							}
							if (idx_tok+i <doc.size()){
									
									//RTR
									RTR.add((i-1)*(_vocab_size+1)+doc.get(idx_tok+i), (i-1)*(_vocab_size+1)+doc.get(idx_tok+i), 1);
									
									//RTL
									if (idx_tok-i>=0){
										RTL.add((i-1)*(_vocab_size+1)+doc.get(idx_tok+i), (i-1)*(_vocab_size+1)+doc.get(idx_tok-i), 1);
									}
							}
						}
						idx_tok++;
					}
					if(idx_doc%1000==0)
						System.out.println("+Doc Num: "+idx_doc+" Processed");
				}
			
				////////////
				System.out.println("+++Iterated over the documents+++");
				
	}