the purpose of grinding ores