Reimplemented the Tensor stream output.
The implementation structure is based on the IO for Eigen::Matrix.
Predefined formats in struct Eigen::TensorIOFormat are defined for numpy-like output, native output, plain output and Legacy output for backwards compatibilty.
Documentation and tests are added.
Edited by cpp977