mathematical model of a ball mill