guile: fix matrix example
guile fix guile 2 deprecation warnings in multimap example

Includes some minor cleanups in the generated code
guile: empty (begin ) form is deprecated in guile 2