Atomistic spin model simulations of magnetic nanomaterials