Computational study of geometry and catalytic activity of metal nanoclusters