Made unit test project, made vectors and rectangles use template types