moves tensor stuff from uex.c to tensor.c
CMakeLists for uexCTests