BUG: fixed extraction of HOMO and LUMO levels in SinglePointDFTCalculator
The previous version of the code effectively worked only with the last k-point in the list. This has been fixed in this version. Additional checks have been inserted to make sure the code behaves as expected and produces reasonable error messages if things do not work out as planned.