slab_extend can now read in the lattice constants