Feed sampling and analysis