Removed the inhouse vec2 implementation and replaced it with the
external vector_math library which is faster and more complete.

Adjusted all the calls to this change.