Added Heightmap calculations to create tilemaps from heightmaps.