Improved Density Functional Theory Method Gets Band Gaps Right