Development Of Methods For Reducing The Cost Of Density Functional Theory And Time-Dependent Density Functional Theory