Having some indexing trouble.
Still working on CCSD implementation.