Almost no memory leaks
problem with operator= in Dmatrix (still memory leaks)