Added inner product to CPTensor
Reformulated pcg to work with cptensors and wrote some tests for it