Learning Interaction Primitives for Biomechanical Prediction