Added javadoc and Made Vec2 class