private void computeCCAVariantDense(ContextPCARepresentation _cpcaR2) {
		_cpcaR2.computeContextLRDenseMatrices();	
		
		SVDTemplates svdTC;
		
			svdTC=new SVDTemplates(_opt,dim2);

		System.out.println("+++Generated Dense CCA Matrices+++");
		
		if(_opt.typeofDecomp.equals("2viewWvsL")){
			
			computeCCA2(_cpcaR2.getWTLDenseMatrix(),_cpcaR2.getLTWDenseMatrix(),_cpcaR2.getLTLDenseMatrix(),MatrixFormatConversion.createSparseMatrixCOLT(_cpcaR2.getWTWMatrix()),svdTC,_cpcaR2);
		}
		
		if(_opt.typeofDecomp.equals("2viewWvsR")){
			computeCCA2(_cpcaR2.getWTRDenseMatrix(),_cpcaR2.getRTWDenseMatrix(),_cpcaR2.getRTRDenseMatrix(),MatrixFormatConversion.createSparseMatrixCOLT(_cpcaR2.getWTWMatrix()),svdTC,_cpcaR2);
		}
		
		if(_opt.typeofDecomp.equals("2viewWvsLR")){
			computeCCA2(_cpcaR2.getWTLRDenseMatrix(),_cpcaR2.getLRTWDenseMatrix(),_cpcaR2.getLRTLRDenseMatrix(),MatrixFormatConversion.createSparseMatrixCOLT(_cpcaR2.getWTWMatrix()),svdTC,_cpcaR2);
		}
		
		//3 view is not implemented as yet.
		if(_opt.typeofDecomp.equals("3viewLvsWvsR") || _opt.typeofDecomp.equals("TwoStepLRvsW")){
		
			if(_opt.typeofDecomp.equals("TwoStepLRvsW"))
				computeCCATwoStepLRvsW(_cpcaR2.getLTRDenseMatrix(),_cpcaR2.getRTLDenseMatrix(),
						_cpcaR2.getLTLDenseMatrix(),_cpcaR2.getRTRDenseMatrix(),MatrixFormatConversion.createSparseMatrixCOLT(_cpcaR2.getWTWMatrix()),
						_cpcaR2.getWTLDenseMatrix(),_cpcaR2.getWTRDenseMatrix(),_cpcaR2.getLTWDenseMatrix(),_cpcaR2.getRTWDenseMatrix(),svdTC,_cpcaR2);
		}

		
	}