%newestFrame = LeapMotionFrameGroup.getObject(0);
%previousFrame = LeapMotionFrameGroup.getObject(1);