how a grate discharge ball mill works