A c++ library for operating on Tensors