Clojure: some more work towards computing abelian invariants for D-symbols