Changed textures to be dynamically sized
Added error when the terrain textures are bigger than a square