Invariants of Cubic Similarity