Mathematical Model for Detecting Diabetes in the Blood