finished vector_3d class