manipulate 2d vectors