Deallocation of buffers

And choice of triangle count in example