grinding mill calculation in ime