Adaptive mixed reality rehabilitation for stroke