Computational nano-materials and catalysis: Modelling of structural and magnetic properties of bare and ligand-protected cobalt nanoparticles