bug: reading position for one dimensional lattice
Currently in case of 1D lattice (chain) we have for example
x = site.pos
which should be replaced with
(x, ) = site.pos
It won't influence more dimensional lattices because
(x, y) = site.pos
works perfectly for them.