now tensor.h include all functions