major move to the one Tensor class in progress. Snapshot
ongoing cleanup
tensor tests ported + fixed stupid mistake in adjust_term
temporary save
first stage