Added hand handling in leap motion library