New control method for the industrial process of cookies manufacturing