vectors 3d geometry probability pdf