Comparison of theoretical and experimental Cu and Mo K-edge XAS