clang doesn't like arrays with negative dimensions.
ContractedTensor proof of concept.
Formatting.
Use ContractedTensor for the biggest tensor.
Make ContractSelf more general.
Make ContractedTensor more general.
Add SelfContractedTensor.
SelfContractedTensor doesn't really need Inc().
Add SelfContract2edTensor. Also adds use of SelfContractedTensor to trg-s3.
Use SelfContract2edTensor in trg-s3. Bug fix. Speedup by only setting value
once.
Don't initialise coordinates needlessly, slightly more helpful progress.
One more layer.
Slight speedup.
Merge remote-tracking branch 'benlaurie/master'

Conflicts:
	test.cc
Implemented increasing cutoff

Conflicts:
	tensor.h
	trg-s3.cc