Index: pobysoPythonSage/src/sageSLZ/sagePolynomialOperations.sage
===================================================================
--- pobysoPythonSage/src/sageSLZ/sagePolynomialOperations.sage	(revision 88)
+++ pobysoPythonSage/src/sageSLZ/sagePolynomialOperations.sage	(revision 89)
@@ -402,8 +402,13 @@
     baseMatrix = matrix(ZZ, numRows, numColumns)
     for rowIndex in xrange(0, numRows):
         for colIndex in xrange(0, len(protoMatrixRows[rowIndex])):
-            baseMatrix[rowIndex, colIndex] = protoMatrixRows[rowIndex][colIndex]
-            print knownMonomialsList[colIndex]
+            if protoMatrixRows[rowIndex][colIndex] !=  0:
+                baseMatrix[rowIndex, colIndex] = \
+                    protoMatrixRows[rowIndex][colIndex] * \
+                    knownMonomialsList[colIndex](boundVar1,boundVar2)
+            #print rowIndex, colIndex,
+            #print protoMatrixRows[rowIndex][colIndex],
+            #print knownMonomialsList[colIndex](boundVar1,boundVar2)
     return baseMatrix
 # End spo_proto_to_row_matrix.
 #
