Tests working and invariant accuracy high. Need to test with pre-invariant