Fixed the computation of the basis in the TriangleTensor class.
Add deployment function for CameraTensor.