isym function

Test for inversional symmetry