Medical Assistant Mobile Application for Diabetes Control by Simulating a Compartmental Model