There’s a mathematical model for engineering food that delights our senses