Adding in the leap motion logic