Density matrix 'bad orbital' dropping implemented