update to tensor_toolkit
Fixed failing barf tests.
append to log files instead of leaving open for whole sim