Fixed incorrect Z values

I've now fixed the aforementioned problem where the southernmost row of
the height map would always return zero.  That part works properly now.

Next up is a routine to reconcile the borders of each tile with those
around it, as the height map doesn't seem to do this perfectly.