Added John's code for making variable terrain shapes. It is currently
unimplemented.