Enviar por SMS: Cyclic motion analysis using inertial sensors and machine learning