Finding Vectors with Given Magnitudes and Directions