Algorithm for the Comparison of Human Periodic Movements Using Wearable Devices. (9th December 2021)