Preparing samples for CHN analysis