several fixes; demo_wf added.
several minor ajustments in docstrings and output.