ball mill retention time calculation formula