data structs

* fixed some special-case const-correctness problems
* fixed insertSorted to correctly not allow duplicates
* added a memory-safe vector: TemplateVectorList
* circumcenter for V2