Changed Vector3D to use only vectors