Sphere vs untransformed heightfield is now working. Added cache for the heightfield to speed up triangle lookup.