A Human Hand Motion Tracking Method For Robot Programming By Demonstration