added smoothing to the leap motion data.