Numerical Methods for Diabetes Technology: Mathematical Algorithms for a Better Management of Type 1 Diabetes