Created the function ‘samtransform’ which matches CCSD up exactly against Shavitt and Bartlett 10.23 and 10.26