added new function: createTerrainFromArray()

also now the geometries property: dynamic is set to false after making
the changes to the vertices.