Index: Makefile
===================================================================
--- Makefile	(revision aa628c31574ec8a52aac1d7cf2b028571a97ab51)
+++ Makefile	(revision 8daa049e597557c84ee5aecb6c27c89be15af933)
@@ -1,5 +1,5 @@
 #############################################################################
 # Makefile for building: SMSAM
-# Generated by qmake (2.01a) (Qt 4.8.2) on: Tue Aug 11 15:29:20 2015
+# Generated by qmake (2.01a) (Qt 4.8.2) on: Mon Aug 17 16:49:28 2015
 # Project:  SMSAM.pro
 # Template: app
@@ -14,8 +14,8 @@
 CFLAGS        = -pipe -O2 -w -D_REENTRANT $(DEFINES)
 CXXFLAGS      = -pipe -O2 -w -D_REENTRANT $(DEFINES)
-INCPATH       = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Iarmadillo_bits -I. -I.
+INCPATH       = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -IEigen -I. -I.
 LINK          = g++
 LFLAGS        = -Wl,-O1
-LIBS          = $(SUBLIBS)  -L/usr/lib/x86_64-linux-gnu -L -larmadillo -llapack -lQtGui -lQtCore -lpthread 
+LIBS          = $(SUBLIBS)  -L/usr/lib/x86_64-linux-gnu -lQtGui -lQtCore -lpthread 
 AR            = ar cqs
 RANLIB        = 
@@ -53,5 +53,8 @@
 		stackvariablesexogenas.cpp \
 		variableexogenawidget.cpp \
-		formexportmatrix.cpp moc_mainwindow.cpp \
+		formexportmatrix.cpp \
+		formencadenamientos.cpp \
+		stackencadenamientos.cpp \
+		encadenamientoswidget.cpp moc_mainwindow.cpp \
 		moc_formloadmatrix.cpp \
 		moc_formviewmatrix.cpp \
@@ -61,5 +64,8 @@
 		moc_stackvariablesexogenas.cpp \
 		moc_variableexogenawidget.cpp \
-		moc_formexportmatrix.cpp
+		moc_formexportmatrix.cpp \
+		moc_formencadenamientos.cpp \
+		moc_stackencadenamientos.cpp \
+		moc_encadenamientoswidget.cpp
 OBJECTS       = mainwindow.o \
 		main.o \
@@ -72,4 +78,7 @@
 		variableexogenawidget.o \
 		formexportmatrix.o \
+		formencadenamientos.o \
+		stackencadenamientos.o \
+		encadenamientoswidget.o \
 		moc_mainwindow.o \
 		moc_formloadmatrix.o \
@@ -80,5 +89,8 @@
 		moc_stackvariablesexogenas.o \
 		moc_variableexogenawidget.o \
-		moc_formexportmatrix.o
+		moc_formexportmatrix.o \
+		moc_formencadenamientos.o \
+		moc_stackencadenamientos.o \
+		moc_encadenamientoswidget.o
 DIST          = /usr/share/qt4/mkspecs/common/unix.conf \
 		/usr/share/qt4/mkspecs/common/linux.conf \
@@ -134,5 +146,5 @@
 all: Makefile $(TARGET)
 
-$(TARGET): ui_formLoadMatrix.h ui_formMatrixView.h ui_formvariablesexogenas.h ui_formexportmatrix.h $(OBJECTS)  
+$(TARGET): ui_formLoadMatrix.h ui_formMatrixView.h ui_formvariablesexogenas.h ui_formexportmatrix.h ui_formencadenamientos.h $(OBJECTS)  
 	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
 
@@ -195,5 +207,5 @@
 dist: 
 	@$(CHK_DIR_EXISTS) .tmp/SMSAM1.0.0 || $(MKDIR) .tmp/SMSAM1.0.0 
-	$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/SMSAM1.0.0/ && $(COPY_FILE) --parents mainwindow.H formloadmatrix.H formviewmatrix.H stackwidget.H accountwidget.H formvariablesexogenas.h stackvariablesexogenas.h variableexogenawidget.h formexportmatrix.h .tmp/SMSAM1.0.0/ && $(COPY_FILE) --parents mainwindow.C main.C formloadmatrix.C formviewmatrix.C stackwidget.C accountwidget.C formvariablesexogenas.cpp stackvariablesexogenas.cpp variableexogenawidget.cpp formexportmatrix.cpp .tmp/SMSAM1.0.0/ && $(COPY_FILE) --parents formLoadMatrix.ui formMatrixView.ui formvariablesexogenas.ui formexportmatrix.ui .tmp/SMSAM1.0.0/ && (cd `dirname .tmp/SMSAM1.0.0` && $(TAR) SMSAM1.0.0.tar SMSAM1.0.0 && $(COMPRESS) SMSAM1.0.0.tar) && $(MOVE) `dirname .tmp/SMSAM1.0.0`/SMSAM1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/SMSAM1.0.0
+	$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/SMSAM1.0.0/ && $(COPY_FILE) --parents mainwindow.H formloadmatrix.H formviewmatrix.H stackwidget.H accountwidget.H formvariablesexogenas.h stackvariablesexogenas.h variableexogenawidget.h formexportmatrix.h formencadenamientos.h stackencadenamientos.h encadenamientoswidget.h .tmp/SMSAM1.0.0/ && $(COPY_FILE) --parents mainwindow.C main.C formloadmatrix.C formviewmatrix.C stackwidget.C accountwidget.C formvariablesexogenas.cpp stackvariablesexogenas.cpp variableexogenawidget.cpp formexportmatrix.cpp formencadenamientos.cpp stackencadenamientos.cpp encadenamientoswidget.cpp .tmp/SMSAM1.0.0/ && $(COPY_FILE) --parents formLoadMatrix.ui formMatrixView.ui formvariablesexogenas.ui formexportmatrix.ui formencadenamientos.ui .tmp/SMSAM1.0.0/ && (cd `dirname .tmp/SMSAM1.0.0` && $(TAR) SMSAM1.0.0.tar SMSAM1.0.0 && $(COMPRESS) SMSAM1.0.0.tar) && $(MOVE) `dirname .tmp/SMSAM1.0.0`/SMSAM1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/SMSAM1.0.0
 
 
@@ -216,7 +228,7 @@
 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
 
-compiler_moc_header_make_all: moc_mainwindow.cpp moc_formloadmatrix.cpp moc_formviewmatrix.cpp moc_stackwidget.cpp moc_accountwidget.cpp moc_formvariablesexogenas.cpp moc_stackvariablesexogenas.cpp moc_variableexogenawidget.cpp moc_formexportmatrix.cpp
+compiler_moc_header_make_all: moc_mainwindow.cpp moc_formloadmatrix.cpp moc_formviewmatrix.cpp moc_stackwidget.cpp moc_accountwidget.cpp moc_formvariablesexogenas.cpp moc_stackvariablesexogenas.cpp moc_variableexogenawidget.cpp moc_formexportmatrix.cpp moc_formencadenamientos.cpp moc_stackencadenamientos.cpp moc_encadenamientoswidget.cpp
 compiler_moc_header_clean:
-	-$(DEL_FILE) moc_mainwindow.cpp moc_formloadmatrix.cpp moc_formviewmatrix.cpp moc_stackwidget.cpp moc_accountwidget.cpp moc_formvariablesexogenas.cpp moc_stackvariablesexogenas.cpp moc_variableexogenawidget.cpp moc_formexportmatrix.cpp
+	-$(DEL_FILE) moc_mainwindow.cpp moc_formloadmatrix.cpp moc_formviewmatrix.cpp moc_stackwidget.cpp moc_accountwidget.cpp moc_formvariablesexogenas.cpp moc_stackvariablesexogenas.cpp moc_variableexogenawidget.cpp moc_formexportmatrix.cpp moc_formencadenamientos.cpp moc_stackencadenamientos.cpp moc_encadenamientoswidget.cpp
 moc_mainwindow.cpp: formloadmatrix.H \
 		ui_formLoadMatrix.h \
@@ -224,9 +236,12 @@
 		ui_formMatrixView.h \
 		formvariablesexogenas.h \
+		formexportmatrix.h \
+		formencadenamientos.h \
 		stackwidget.H \
 		accountwidget.H \
 		stackvariablesexogenas.h \
 		variableexogenawidget.h \
-		formexportmatrix.h \
+		stackencadenamientos.h \
+		encadenamientoswidget.h \
 		mainwindow.H
 	/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) mainwindow.H -o moc_mainwindow.cpp
@@ -259,4 +274,14 @@
 moc_formexportmatrix.cpp: formexportmatrix.h
 	/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) formexportmatrix.h -o moc_formexportmatrix.cpp
+
+moc_formencadenamientos.cpp: formencadenamientos.h
+	/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) formencadenamientos.h -o moc_formencadenamientos.cpp
+
+moc_stackencadenamientos.cpp: encadenamientoswidget.h \
+		stackencadenamientos.h
+	/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) stackencadenamientos.h -o moc_stackencadenamientos.cpp
+
+moc_encadenamientoswidget.cpp: encadenamientoswidget.h
+	/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) encadenamientoswidget.h -o moc_encadenamientoswidget.cpp
 
 compiler_rcc_make_all:
@@ -267,7 +292,7 @@
 compiler_moc_source_make_all:
 compiler_moc_source_clean:
-compiler_uic_make_all: ui_formLoadMatrix.h ui_formMatrixView.h ui_formvariablesexogenas.h ui_formexportmatrix.h
+compiler_uic_make_all: ui_formLoadMatrix.h ui_formMatrixView.h ui_formvariablesexogenas.h ui_formexportmatrix.h ui_formencadenamientos.h
 compiler_uic_clean:
-	-$(DEL_FILE) ui_formLoadMatrix.h ui_formMatrixView.h ui_formvariablesexogenas.h ui_formexportmatrix.h
+	-$(DEL_FILE) ui_formLoadMatrix.h ui_formMatrixView.h ui_formvariablesexogenas.h ui_formexportmatrix.h ui_formencadenamientos.h
 ui_formLoadMatrix.h: formLoadMatrix.ui
 	/usr/bin/uic-qt4 formLoadMatrix.ui -o ui_formLoadMatrix.h
@@ -281,4 +306,7 @@
 ui_formexportmatrix.h: formexportmatrix.ui
 	/usr/bin/uic-qt4 formexportmatrix.ui -o ui_formexportmatrix.h
+
+ui_formencadenamientos.h: formencadenamientos.ui
+	/usr/bin/uic-qt4 formencadenamientos.ui -o ui_formencadenamientos.h
 
 compiler_yacc_decl_make_all:
@@ -298,9 +326,12 @@
 		ui_formMatrixView.h \
 		formvariablesexogenas.h \
+		formexportmatrix.h \
+		formencadenamientos.h \
 		stackwidget.H \
 		accountwidget.H \
 		stackvariablesexogenas.h \
 		variableexogenawidget.h \
-		formexportmatrix.h \
+		stackencadenamientos.h \
+		encadenamientoswidget.h \
 		armadillo \
 		armadillo_bits/config.hpp \
@@ -734,9 +765,12 @@
 		ui_formMatrixView.h \
 		formvariablesexogenas.h \
+		formexportmatrix.h \
+		formencadenamientos.h \
 		stackwidget.H \
 		accountwidget.H \
 		stackvariablesexogenas.h \
 		variableexogenawidget.h \
-		formexportmatrix.h
+		stackencadenamientos.h \
+		encadenamientoswidget.h
 	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.C
 
@@ -771,4 +805,15 @@
 	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o formexportmatrix.o formexportmatrix.cpp
 
+formencadenamientos.o: formencadenamientos.cpp formencadenamientos.h \
+		ui_formencadenamientos.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o formencadenamientos.o formencadenamientos.cpp
+
+stackencadenamientos.o: stackencadenamientos.cpp stackencadenamientos.h \
+		encadenamientoswidget.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o stackencadenamientos.o stackencadenamientos.cpp
+
+encadenamientoswidget.o: encadenamientoswidget.cpp encadenamientoswidget.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o encadenamientoswidget.o encadenamientoswidget.cpp
+
 moc_mainwindow.o: moc_mainwindow.cpp 
 	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp
@@ -798,4 +843,13 @@
 	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_formexportmatrix.o moc_formexportmatrix.cpp
 
+moc_formencadenamientos.o: moc_formencadenamientos.cpp 
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_formencadenamientos.o moc_formencadenamientos.cpp
+
+moc_stackencadenamientos.o: moc_stackencadenamientos.cpp 
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_stackencadenamientos.o moc_stackencadenamientos.cpp
+
+moc_encadenamientoswidget.o: moc_encadenamientoswidget.cpp 
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_encadenamientoswidget.o moc_encadenamientoswidget.cpp
+
 ####### Install
 
