Novel method of measuring physical and chemical composition in process streams