X-ray study of the electronic structure of matter: A study of the absorption discontinuties of copper and cobalt in some spinels and ternary diamond like semi conductors