Added tempalte initialization method to vertex buffer.