3d gesture sensor