Add vec2 scaling and tests.

This also removes .swp files from vim. Grrr...
Add vec2 inner product and test.
Add vec2 perpindicular product and tests.
Add length functions and tests.

This also cleans up some warnings due to unused imports in the test
scripts.