Add some contract functions to tensor base.
Add pointers poiting to the underlying deal.II tensor of TensorBase.
Assemble matrix and rhs vector.