organized tostring a little better for swapping string methods.  changed the tensor utillity to always use single-line strings (crashes currently otherwise), and subsequently fixed the broken examples that were dependent upon it