Device could have serious applications for tracking a range of health issues, including irritable bowel syndrome and food intolerance