Added function to find height at x,z from heightmap