added logical for save/write
paper up
tensor diff tests
new code bits for tensor diffusion