Automatically write atomic ENM in multiresolution_simulation; fixed error in ENM causing failure for square lattice