fix typos in terrain example
update all the other examples with the vector namespace change