On the "Preconditioning" Function Used in Planewave DFT Calculations and its Generalization. (3rd July 2015)