WIP: invariant tensors