Calculation of optical properties within the Local Density Approximation to Density Functional Theory : application to Palladium