Invia SMS: Theory, determination and control of physical properties of food materials