Index: pobysoPythonSage/src/sageMpfr.spyx
===================================================================
--- pobysoPythonSage/src/sageMpfr.spyx	(revision 90)
+++ pobysoPythonSage/src/sageMpfr.spyx	(revision 91)
@@ -9,7 +9,7 @@
 # from the Sage real_mpfr.pyx file.
 # Notes:
 # - notice how #define constants are imported.
-# - mpfr_min_prec is declared with an unsigned int return value, not
+# - mpfr_min_prec() is declared with an unsigned int return value, not
 #   a mpfr_prec_t since it is not recognized as type in Cython.
 cdef extern from "mpfr.h":
     cdef int MPFR_PREC_MIN "MPFR_PREC_MIN"
Index: pobysoPythonSage/src/sollya_lib.sage
===================================================================
--- pobysoPythonSage/src/sollya_lib.sage	(revision 90)
+++ pobysoPythonSage/src/sollya_lib.sage	(revision 91)
@@ -143,4 +143,4 @@
 #retc = cast(retc, POINTER(c_int)).contents
 #arg = sollya_lib_constant_from_int(int(retc))
 #retc = sollya_lib_autoprint(arg, None)
-#sollya_lib_set_prec(c_int(100))
\ No newline at end of file
+#sollya_lib_set_prec(c_int(100))
Index: pobysoPythonSage/src/sageSLZ/sagePolynomialOperations.sage
===================================================================
--- pobysoPythonSage/src/sageSLZ/sagePolynomialOperations.sage	(revision 90)
+++ pobysoPythonSage/src/sageSLZ/sagePolynomialOperations.sage	(revision 91)
@@ -165,6 +165,7 @@
     pTdegree = p.degree(pVariables[1])
     currentIdegree = currentPolynomial.degree(iVariable)
     nAtPower = N^alpha
+    nAtAlpha = nAtPower
     # We work from p^0 * N^alpha to p^alpha * N^0
     for pPower in xrange(0, alpha + 1):
         # pPower == 0 is a special case. We introduce all the monomials but one
@@ -185,11 +186,10 @@
                                                              pPower, 
                                                              alpha)
                     currentExpression = iVariable^iPower * \
-                                        tVariable^tPower * nAtPower
+                                        tVariable^tPower * nAtAlpha
                     # polynomialAtPower == 1 here. Next line should be commented
                     # out but it does not work! Some conversion problem?
-                    currentPolynomial = pRing(currentExpression) * \
-                                        polynomialAtPower 
+                    currentPolynomial = pRing(currentExpression)
                     pMonomials = currentPolynomial.monomials()
                     pCoefficients = currentPolynomial.coefficients()
                     spo_add_polynomial_coeffs_to_matrix_row(pMonomials, 
@@ -250,7 +250,7 @@
                                                          tPower, 
                                                          0,  
                                                          alpha)
-                currentExpression = i^(iPower * pIdegree) * t^tPower * nAtPower
+                currentExpression = i^(iPower * pIdegree) * t^tPower * nAtAlpha
                 currentPolynomial = pRing(currentExpression)
                 pMonomials = currentPolynomial.monomials()
                 pCoefficients = currentPolynomial.coefficients()
@@ -282,7 +282,7 @@
                                                              outerTpower,
                                                              0,
                                                              alpha)
-                    currentExpression = i^iPower * t^outerTpower * nAtPower
+                    currentExpression = i^iPower * t^outerTpower * nAtAlpha
                     currentPolynomial = pRing(currentExpression)
                     pMonomials = currentPolynomial.monomials()
                     pCoefficients = currentPolynomial.coefficients()
@@ -313,7 +313,7 @@
                                                                      0,
                                                                      alpha) 
                             currentExpression = \
-                                    i^(iPower) * t^(innerTpower) * nAtPower
+                                    i^(iPower) * t^(innerTpower) * nAtAlpha
                             currentPolynomial = pRing(currentExpression)
                             pMonomials = currentPolynomial.monomials()
                             pCoefficients = currentPolynomial.coefficients()
@@ -393,7 +393,6 @@
     """
     Create a row (each column holds the evaluation one monomial at boundVar1 and
     boundVar2 values) matrix.
-    protoMatrixRows.
     
     Parameters
     ----------
@@ -402,6 +401,7 @@
     numRows = len(protoMatrixRows)
     if numRows == 0:
         return None
+    # The last row is the longest one.
     numColumns = len(protoMatrixRows[numRows-1])
     if numColumns == 0:
         return None
Index: pobysoPythonSage/src/sageSLZ/sageSLZ.sage
===================================================================
--- pobysoPythonSage/src/sageSLZ/sageSLZ.sage	(revision 90)
+++ pobysoPythonSage/src/sageSLZ/sageSLZ.sage	(revision 91)
@@ -356,7 +356,8 @@
     
     :returns: a 4 elements tuple:
                 - the polynomial;
-                - the module (N);
+                - the modulus (N);
+                - the t bound;
                 - the lcm used to compute the integral coefficients and the 
                   module.
     """
@@ -364,6 +365,8 @@
     IP = PolynomialRing(ZZ, name=str(variable1) + "," + str(variable2))
     # Coefficients are issued in the increasing power order.
     ratPolyCoefficients = ratPolyOfInt.coefficients()
+    # Print the reversed list for debugging.
+    print ratPolyCoefficients[::-1]
     # Build the list of number we compute the lcmm of.
     coefficientDenominators = sro_denominators(ratPolyCoefficients)
     coefficientDenominators.append(2^precision)
@@ -371,7 +374,7 @@
     leastCommonMultiple = lcm(coefficientDenominators)
     # Compute the expression corresponding to the new polynomial
     coefficientNumerators =  sro_numerators(ratPolyCoefficients)
-    print coefficientNumerators
+    #print coefficientNumerators
     polynomialExpression = 0
     power = 0
     # Iterate over two lists at the same time, stop when the shorter is
@@ -385,8 +388,8 @@
     polynomialExpression += - variable2
     return (IP(polynomialExpression),
             leastCommonMultiple / 2^precision, # 2^K or N.
-            leastCommonMultiple / 2 ^(targetHardnessToRound + 1), # tBound
-            leastCommonMultiple)
+            leastCommonMultiple / 2^(targetHardnessToRound + 1), # tBound
+            leastCommonMultiple) # If we want to make test computations.
         
 # End slz_ratPoly_of_int_to_poly_for_coppersmith
 
@@ -401,10 +404,10 @@
     respectively, the "right" power.
     """
     polynomialField = ratPolyOfRat.parent()
-    polynomialVariable = rationalPolynomial.variables()[0]
-    print "The polynomial field is:", polynomialField
+    polynomialVariable = ratPolyOfRat.variables()[0]
+    #print "The polynomial field is:", polynomialField
     return \
-        polynomialField(rationalPolynomial.subs({polynomialVariable : \
+        polynomialField(ratPolyOfRat.subs({polynomialVariable : \
                                    polynomialVariable/2^(precision-1)}))
     
     # Return a tuple:
