Efficient sampling in materials simulation - Exploring the parameter space of grain boundaries