DFT study of the complex diffusion of oxygen in cobalt & Machine learning of ab-initio energy landscapes for crystal structure predictions