DENSITY FUNCTIONAL THEORY FOR BATTERY MATERIALS