AMD Compatability

Defines Vector2D as an anonymous module in the presence of Require.js