Improve random 3d vector creation