Fix numerous bugs in class DemiPlan.
Fix: mat() function optional third argument was not properly handled.
Fix failing docstring tests.
Improve compatibility with old .geo files.

Improve compatibility with .geo files generated by wxgeometrie v0.133.
Version 13.04.6