Changing some of the fundamental containers to std::vector
There's also some removal of macros and cleaning up a few bits and pieces. There should be a few percent reduction in mesh time too - mostly hidden by unnecessary memory allocation, copying and deallocation, see #399 (closed).