Vector3 class with basic math functions