An innovative measurement system based on MEMs for telerehabilitation