Separated Textures into 1D 2D 3D Versions and added detailed debugging.