material and energy balance ball mill