Seperated fit_tensor_util header files; still need to seperate c file and test