Computational treatment of the interaction of carbon monoxide with extended surfaces