Fixed memory leaks generated by the Terrain-class.
(added som test code for instancing of geometry)

Signed-off-by: Strakas <reetopps6@hotmail.com>