Utilization of IMU-Based Gesture Recognition in the Treatment of Diabetes