Sensors for Intelligent Processing of Materials