   CUFREE(vars->gpu_mForcez);
   CUFREE(vars->gpu_cellVector);
   CUFREE(vars->gpu_mapParticleToCell);
-  CUFREE(vars->gpu_rT11);
-  CUFREE(vars->gpu_rT12);
-  CUFREE(vars->gpu_rT13);
-  CUFREE(vars->gpu_rT22);
-  CUFREE(vars->gpu_rT23);
-  CUFREE(vars->gpu_rT33);
-  CUFREE(vars->gpu_vT11);
-  CUFREE(vars->gpu_vT12);
-  CUFREE(vars->gpu_vT13);
-  CUFREE(vars->gpu_vT22);
-  CUFREE(vars->gpu_vT23);
-  CUFREE(vars->gpu_vT33);
   CUFREE(vars->gpu_nonOrth);
   for(uint b = 0; b < BOX_TOTAL; b++) {
     CUFREE(vars->gpu_cell_x[b]);

    CUFREE(vars->gpu_Invcell_y[b]);
    CUFREE(vars->gpu_Invcell_z[b]);
  }
  delete [] vars-> gpu_cell_x;
  delete [] vars-> gpu_cell_y;
  delete [] vars-> gpu_cell_z;

  CUMALLOC((void**) &vars->gpu_comx, maxMolNumber * sizeof(double));
  CUMALLOC((void**) &vars->gpu_comy, maxMolNumber * sizeof(double));
  CUMALLOC((void**) &vars->gpu_comz, maxMolNumber * sizeof(double));

  CUMALLOC((void**) &vars->gpu_nonOrth, sizeof(int));
  vars->gpu_cell_x = new double *[BOX_TOTAL];
