Adaptive pedagogy for tai chi and martial arts