fixed bug when taking inner product of TensorStates, basis keys are now tuples (label, basislabel) to speed up ctranspose