Very minor optimization to DIIS
Merge pull request #558 from peastman/master

Very minor optimization to DIIS