Update slab_tools.py

instead of functions returning variables, they add to the slabdata class