Implemented truncation for CPTensor
[wip] Added testing for pcg and tensors (not yet working)