Fixing fig export, tensor utils, tcprintf