Fixed some bugs. slab scale factor kept on changing with each iteration of a new shift value. Going to work on a new unit test, then add documentation