Added some documentation.
Added some check about missing curve/path definitions, missing intersections and empty arguments.