Working version of kinectThreshold added.