Hand Motion Tracking Using Simulated Annealing Method in a Discrete Space