new vector 3d class