Added unit tests because there seems to be an error in indexing
Terrible indexing error from thickness & periodic_z repaired, does not actually fix the energy drift. Also, one of the sites still is without any neighbors (index 999/999).