fixed featureClone() bug
sampler and datatensor bugs--