changed atom struct and supercell struct to use vectors rather than individual x,y,z
convert several vectors to arrays to take advantage of vectorized operations.