Invia SMS: Numerical calculations and algorithms