point3: constructor for vector