It works! Thanks a lot for pointing that out. That was a stupid mistake by myself. The current code is available here: https://gist.github.com/anonymous/cb907737750e180b5f881a11237c6d62
A basic output is attached. Now I'm on to document everything and wrap it up as a console-script.
test.fzpz (61.3 KB)