Movement Templates for Learning of Hitting and Batting