Now exports the density matrix