Add initial version

Found it lying around in a random MATLAB project.
Fix polygon interior rings, add mapstruct support

This is the actual current version when the git was started.
The first version from MATLAB Central is still lost...