Fixed Homo Lumo gap function