further implementation

Signed-off-by: Marcel Schwittlick <marzzzel@gmail.com>
refactoring

Signed-off-by: Marcel Schwittlick <marzzzel@gmail.com>
added test suite for vec2d

Signed-off-by: Marcel Schwittlick <marzzzel@gmail.com>