move lattice_tools which was in the wrong place