updated code, added modules to allow for analysis of different blocks in the supercell