Fixed wacky height map.

I figured out the problem with the oddly jagged height map - as
suspected, I was putting the wrong height on the wrong vertex.  Fixed
now.

Also fixed the issue where the geometry would not appear as updated
until refreshed a second time.  This works properly now.