cost of ball mill equation