Coordination Bond Valence for XAS