Add truncation for swap gate
Add truncation for swap gate

OneDimensionalTensorNetwor.swap_gate() takes chi and threshold
arguments. Found that not truncating swap gates led to numerical
instabilities.

andrewdarmawan/tncontract