Update tensor3.hpp