Shifted to python interface. Fixed bug with site assignment. Allows for variable thicknesses.