Added leap motion functionality