calculate ball mill retention time