Motion sensor physiotherapy