Fixed bug when not using restartDir and changed DIIS res.