Evaluation of an algorithm for interpreting the kinematics of arm motion and its relationship to object-directed motion