Math vector OOP C++