Clojure: fixed small problems in orbifold invariant computation