vectors module added to CMakeLists, compiles with some minor bug fixes