Add moment invariants -- now it work