terrain example, some matrix/vector utils
terrain example expanded