#21 vector3d function for expressions