Gravar-mail: Implementation of Human-Machine Synchronization Control for Active Rehabilitation Using an Inertia Sensor