Feature tensor fun

added support for a "TensorFun"