   int *lengthOwnLimbs; 
   tmpX = (long long **) malloc( nr_rows * nr_cols * sizeof( long * ));
   lengthOwnLimbs = (int *) malloc( nr_rows * nr_cols * sizeof(int));
-
+  
   // Find maximum exponent in matrix
   int maxExp = a[0].get_mpf_t()->_mp_exp;
   for(int i = 0; i < nr_rows; ++i)

  rr.seed(time(NULL));
  for(int i = 0; i < nr_rows; i++){
    for(int j = 0; j < nr_cols; j++){
      std::cout << j << " " << i << std::endl;
      a[j * nr_rows +  i] = rr.get_f(500);
    }
  }

            // Conversion successful                                     
	  }
     }
     mpf_set_default_prec(300);
     
     timeval t1, t2;

     mpf_class f("-3.23124");
     mpf_class fCopy = f;
     mp_exp_t exp;
     long long *mLimbs;
     int noOfmLimbs = 0;
     //std::cout << getSign(f) << std::endl;
     //std::cout << "Res..." << f.get_str(exp, 10) << std::endl;
     //generateLongsFromGMP(f, mLimbs, noOfmLimbs, 7, 10);
     std::cout << "*****************************" << std::endl;
     //std::cout << "Binary..." << f.get_str(exp, 2) << std::endl;
     //std::cout << " Number of my limbs... " << noOfmLimbs << std::endl;
     //for(int i = 0; i < noOfmLimbs; i++) {
     //  std::bitset<64> tr(mLimbs[i]);
     //  std::cout<< tr << std::endl;
     //}
     std::cout << "*****************************" << std::endl;
     mpf_class getResBack;
     //longToGMP(getResBack, mLimbs, noOfmLimbs, 7, 10);
     //std::cout << getResBack.get_str(exp, 2) << std::endl;
     //std::cout << getResBack - f << std::endl;
     //std::cout << "*****************************" << std::endl;
     
     //std::cout << "Binary..." << f.get_str(exp, 2) << std::endl;
     //long long toAdd = 11232145214524552;
     //mpf_class result = addToGMP(f, toAdd, -5);
     //std::cout << "Binary added..." << result.get_str(exp, 2) << std::endl;
     //std::bitset<64> tr(toAdd);
     //std::cout << "what to add ..." << tr << std::endl; 
     //std::cout << "Binary added..." << result.get_str(exp, 10) << std::endl;
     std::cout << "*****************************" << std::endl;
     //std::cout << "Testing...";
     //mpf_class a1("0.23124");
     //mpf_class a2("0.251253124");
     //mpf_class a3; 

     //numberMultiplicationBasecase(a3, a2, a1);
     //std::cout << a3 << std::endl;
     //std::cout << a3 - (a1 * a2) << std::endl;
     std::cout << "*****************************" << std::endl;
     int nr_rows_A, nr_cols_A, nr_rows_B, nr_cols_B, nr_rows_C, nr_cols_C;
     std::cout << "Generating random matrix" << std::endl;
