added algorithm to compute atom equivalences from  super cell