I am trying to implement 3D hand gesture recognition application using Skeleton tracking.

I have some issues:

1. How do i calculate trajectory angle (in spherical coordinates) of hand motion in each frame (given i have x(t),y(t),z(t) and x(t+1),y(t+1),z(t+1)) ?