Refactoring part two
Vec distance, example fix
Vec2 -> Vector2
Added static joint implementation, and some fixes