Updated CCSD to be ~twice as fast with a single line change, fixes #1